load("//tools:cpplint.bzl", "cpplint")
load("//tools:apollo_package.bzl", "apollo_cc_library", "apollo_package")

package(default_visibility = ["//visibility:public"])

#LIVOX_COPTS = ['-DMODULE_NAME=\\"livox\\"', '-Iinclude', '-Iinclude/comm', '-Iinclude/third_party/FastCRC', '-Iinclude/third_party/spdlog', '-Iinclude/third_party/cmdline', '-Iinclude/third_patry/rapidjson', '-Isrc']
LIVOX_COPTS = ['-DMODULE_NAME=\\"livox\\"']

apollo_cc_library(
    name = "livox_sdk",
    srcs = glob(
        ["**/*.cpp"],
    ),
    hdrs = glob(
        ["**/*.h",
        "include/*.h",
        ],
    ),
    copts = LIVOX_COPTS,
    includes = ["include", "include/comm", "include/third_party/FastCRC", "include/third_party/spdlog", "include/third_party/cmdline", "include/third_party/rapidjson", "src"],
    deps = [
		    "//modules/drivers/lidar/livox/livox_sdk/thirdpart/spdlog:spdlog",
    ],
)

apollo_package()

#cpplint()

